package com.campusbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 队员身份字典表
 * </p>
 *
 * @author yezi
 * @since 2025-07-26
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode
@TableName("member_roles")
@Schema(name = "MemberRoles", description = "队员身份字典表")
public class MemberRoles implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "身份名称")
    private String roleName;

    @Schema(description = "身份描述")
    private String roleDescription;

    @Schema(description = "排序顺序")
    private Integer sortOrder;

    @Schema(description = "状态：1-正常，0-禁用")
    private Byte status;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;


}
